#include <delay.h>

void delay_ms(unsigned int delayms)
{
    unsigned int delayus = delayms * 1000;
    // 一个循环10us
    unsigned int delayunit = delayus / 10;
    while (delayunit--)
        ;
}
